package com.fbty.mt.service;

import com.fbty.base.domain.Page;
import com.fbty.mt.domain.Record;

public interface RecordService {
	/**
	 * 
	 * Description:获得可用的条数 <br>
	 * @return
	 */
	public int getNum(int uid);
	
	/**
	 * 
	 * Description:获得独享可用的充值记录 <br>
	 * @return
	 */
	public int getOnlyNum(int uid);
	
	/**
	 * 
	 * Description: 删除购买记录<br>
	 * @param rid
	 */
	public void deleteRecord(int rid);
	
	/**
	 * 
	 * Description: 增加<br>
	 * @param record
	 */
	public void saveRecord(Record record);
	
	/**
	 * 
	 * Description: 分页显示购买记录<br>
	 * @return
	 */
	public Page queryRecords();
	/**
	 * 
	 * Description: 获取独享可用的时长<br>
	 * @param uid
	 * @return
	 */
	public int getUseTime(int uid);
}
